<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li class="active">流水管理</li>
  </ol>
  <form class="form-inline search-box" role="form" ng-submit="search()" novalidate>
    <div class="form-group">
    <label class="sr-only" >平台流水号</label>
      <input type="text" class="form-control" placeholder="平台流水号" ng-model="searchMap.platSerialNo">
    </div>
    <div class="form-group">
    <label class="sr-only" >订单号</label>
      <input type="text" class="form-control" placeholder="订单号" ng-model="searchMap.orderId">
    </div>
    <div class="form-group">
    <label class="sr-only" >支付日期</label>
      <input type="text" class="form-control" placeholder="支付日期" ng-model="searchMap.payDate">
    </div>
    <div class="form-group">
      <label class="sr-only" >支付类型</label>
      <select class="form-control" ng-model="searchMap.interfaceType" ng-options="m.value as m.text for m in dictMap.payStatusModel" placeholder="支付类型">
        <option value="">--支付类型--</option>
      </select>
    </div>
    <div class="form-group">
    <label class="sr-only" >持卡人姓名</label>
      <input type="text" class="form-control" placeholder="持卡人姓名" ng-model="searchMap.cardCarrier">
    </div> 
    <button type="submit" class="btn btn-primary">查询</button>
  </form>
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th width="">平台流水号</th>
        <th width="">订单编号</th>
        <th width="">支付日期</th>
        <th width="">支付类型</th>
        <th width="">支付开始时间</th>
        <th width="">支付完成时间</th>
        <th width="">支付金额</th>
        <th width="">支付状态</th>
        <th width="">支付信息</th>
        <th width="">付款银行帐号</th>
        <th width="">持卡人姓名</th>
        <th width="">faId</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="w in withdraws">
        <td>{{w.platSerialNo}}</td>
        <td>{{w.orderId}}</td>
        <td>{{w.payDate}}</td>
        <td>{{w.interfaceType | payStatusModelRenter}}</td>
        <td>{{w.payStartTime | date : "yyyy-MM-dd HH:mm:ss"}}</td>
        <td>{{w.payEndTime | date : "yyyy-MM-dd HH:mm:ss"}}</td>
        <td>{{w.payAmt | moneyRender2}}</td>
        <td>{{w.payStatus | payStatusRenter}}</td>
        <td>{{w.tpayRetMsg}}</td>
        <td>{{w.cardNo}}</td>
        <td>{{w.cardCarrier}}</td>
        <td>{{w.userId}}</td>
      </tr>
    </tbody>
  </table>

  <div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="withdraws.length > 0"></div>
</div>
